package manager.api;
import common.PageView;
import manager.workflow.vo.WorkFlowVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;
@FeignClient("activiti-service")
public interface WorkFlowApi {
    @RequestMapping(value = "/deployment/list", method = RequestMethod.POST)
    PageView<List<ThirdProcessDefinitionVO>> selectPageProcessDefinition(@RequestBody WorkFlowVO workFlowVO);
}
